package com.chixing.service;


import com.chixing.pojo.OrderInfo;
import com.chixing.util.ServerResponse;
import com.github.pagehelper.PageInfo;

public interface OrderInfoService {
    //根据id查询订单详情
    public ServerResponse getById(Integer id);

    //查询所有订单
    public ServerResponse getAll();

    //根据id删除订单
    public  ServerResponse delete(Integer id);
    //根据订单信息id查询其他
    public ServerResponse selectByOrderInfoId();
    //将订单进行分页
    public PageInfo<OrderInfo> getByPage(Integer pageNum);

}
